package com.pr.test.javabean;

/**
 * @author Li
 * @Date 2023/4/13 11:25
 */
public class WaterDispenser {
    String brand;
    String string;
    double volume;
    String function;

    public WaterDispenser() {
    }

    public WaterDispenser(String brand, String string, double volume, String function) {
        this.brand = brand;
        this.string = string;
        this.volume = volume;
        this.function = function;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getString() {
        return string;
    }

    public void setString(String string) {
        this.string = string;
    }

    public double getVolume() {
        return volume;
    }

    public void setVolume(double volume) {
        this.volume = volume;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    @Override
    public String toString() {
        return "WaterDispenser{" +
                "brand='" + brand + '\'' +
                ", string='" + string + '\'' +
                ", volume=" + volume +
                ", function='" + function + '\'' +
                '}';
    }
}
